package com.pctc.service;

import com.pctc.model.User;
import org.apache.ibatis.annotations.*;

import java.util.List;

public interface UserService {

    public List<User> findByName(String name);


    public User findById(Integer id);


    public int insert(User user);


    public int updateUser(User user);


    public int deleteUser(int id);


    public int countUser(int id);

}
